package com.quectel.core.module.grid.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhangheng
 * @email nolan.zhang@quectel.com
 * @date 2023/02/03 16:42
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema
public class GridEventRecordLogDto implements Serializable {

    /**
     * ID
     */
    @Schema(description = "ID")
    private Long id;

    /**
     * 网格事件id
     */
    @Schema(description = "网格事件id")
    private Long gridEventRecordId;

    /**
     * 操作顺序
     */
    @Schema(description = "操作顺序")
    private Integer seq;

    /**
     * 当前经办层级:0区1街道2小区3网格
     */
    @Schema(description = "当前经办层级:1省2市3区4街道5小区6网格")
    private Byte handleLevel;

    /**
     * 操作:0创建1指派2上报3受理4反馈5办结
     */
    @Schema(description = "字典值:'GridEventRecordLogType,'操作:0创建1指派2上报3受理4反馈5办结6驳回")
    private Byte handleStatus;

    /**
     * 处理单位名称
     */
    @Schema(description = "处理单位名称")
    private String handleUnitName;

    /**
     * 人员类型1管理员3网格员
     */
    @Schema(description = "人员类型1管理员3网格员")
    private Byte handleUserType;

    /**
     * 人员id
     */
    @Schema(description = "人员id")
    private Long handleUserId;

    /**
     * 处理图片json
     */
    @Schema(description = "处理图片json")
    private String handlePicturesJson;

    /**
     * 处理详情
     */
    @Schema(description = "处理详情")
    private String handleDetail;

    /**
     * 描述:xx区发起
     */
    @Schema(description = "描述:xx区发起")
    private String handleDesc;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private Date createTime;

    /************非数据库字段 start ************/

    /************非数据库字段 end **************/
}
